SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c27e0fa3e926afddb878b708414f03041afc64029b45be317eac4ef04421cf6' 
  AND token = 'Jjnr2Tli1RH+NcrtPiyhfNNQA359ICdf5+Sz0JRCnyg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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