SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '627d71c533b2baa3196f8caa3fa8b36d5ae0d924fdb3245add123b27283d5c15' 
  AND token = 'NiONwjKGWqSkiDfpw7LvEKe0s+dNDmuPtiEoqfag0Eg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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