SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ceaba856bfebecb5db9ffdd4b9eac52cf36c762caa5ef1bc7c92d3987b1269e9' 
  AND token = 'pUzHH8ICarQFPuXpzMfWLK4QSLzzbK7DxnYgkkgIBok=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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