SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3a12510df52626c3f2628a0217fdc19c6bbff596160bd87166dbe4d84a294517' 
  AND token = 'i0Opr1JfJ2AGWDwTPdL12SgDUicrN8S753JGt2Akx1Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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