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

Query time 0.00015

JSON explain

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