SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1015696065805bf9ccbe9206d52df58d5215d00b2d1176536dffab039a69df0c' 
  AND token = 'YPZLOo1z/qmMbi0r9c7mtUwBGLFubiH2Gntvw8L2tk0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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