SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4278b286ad0f25a1d90bf5471dd6e3cbbc2a21957fcee2d2753c9c8133effecf' 
  AND token = 'YalJ0tQHZdr22c12GF6D1MX59jOa02PxEpO/Cy16PqE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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