SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b5b0cf52608e45c0dc3c13668098b638966c15243e8433a666d6d8f3d93fa3ba' 
  AND token = 'UH5DrVmMnhErTc/2fljsrH6L2A28BfSOiTONMdBvNCQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}