SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fc578e9d1b0b0043c9110329dfd25a7526db9ea2bb828294c22ebf180abc71a1' 
  AND token = 'ag4yFm2xuWWSFXdxGhUW+6ouP68XhVcfvyy9Noe9ypA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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