SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec95c77eb0030c340c984c09e9154c661e606bba3851a61cfa041b540e572d56' 
  AND token = 'K3DhiJo6Ewt7Dmt+j1Sb9oFLPkaIzZl0DFziOE1LWHc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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