SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'abbea514aa107eb477522f90a9d3405c51a4f1c162f415153b8f5a564cfc2ee9' 
  AND token = 'rPy9WXa4KE2CPIZ4xb+IvMi6rKkQvEh7nmnHPMHh5Ig=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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